public class ExtendsThread extends Thread{
    @Override
    public void run() {
        System.out.println("Thread override run");
    }

    public static void main(String[] args) {
        System.out.println("main run");
        new ExtendsThread().start();
    }
}
